home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
dev
/
misc
/
AWNP_2-39.lha
/
AWNP
/
AWNP-Docs
/
chooser.doc
< prev
next >
Wrap
Text File
|
1999-07-18
|
2KB
|
111 lines
Chooser gadget event
-------------------------
'gadget GID selected'
selected = the selected choice in the chooser.
Chooser gadget parameters.
-------------------------
font=GID
This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
close (c)
This gadget will close the window when selected by the user.
readonly (ro)
This gadget is read only.
disable=number (dis=)
The gadget is disabled if number = 0 , enabled if number !=0. Defaults to enabled.
gadgettext="text" (gt=)
Set the text for the gadget.
selected=number (s=)
Set which choice is selected when the window opens. Selections start at 0 . This defaults to choice 0.
ChooserLabels="choice0|choice1|choice..." (cl)
Set the choices for the gadget. Maximum 50 choices, do not exceed this !
Maxnumber=count (maxn=)
The maximum number of selection to display. Defaults to 12.
Popup (pu)
This is a popup chooser. Defaults to dropdown.
minwidth=number (minw=)
Set the minimum width for this gadget
minheight=number (minh=)
Set the minimum height for this gadget
weightedwidth=number (weiw=)
Set the weighted width for this gadget
weightedheight=number (weih=)
Set the weighted height for this gadget
nominalsize (noms)
Set this gadget to its nominal size.
tags="tags|data[|tag|data...]|0
A list of tag and value pairs in HEX. Do not forget the
trailing null !
childlabel (chl)
childlabelr (chlr)
Use the previously defined image as a childlabel for this gadget. Display the childlabel to the right or left of the gadget.
TabCycle (tc)
This gadget can be selected by cycling with the tab key.
replace=GID
Use this gadget to replace an existing gadget specified by GID.
Definition Reply
-----------------
When the gadget creation is successful the pipe replies with
'ok GID'
Chooser gadget modify parameters.
-------------------------
disable=number (dis=)
The gadget is disabled if number = 0 , enabled if number !=0.
selected=number (s=)
Set which choice is selected . Selections start at 0 .
chooserlabels="choice0|choice1|choice..." (cl=)
Change the choices available in the chooser.
defnumber=count (defn=)
The maximum number of selection to display.